<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
					
					
					window.onload = function()
					{
						setInterval(function()
						{
							var r = Math.floor(Math.random()*256);
							var g = Math.floor(Math.random()*256);
							var b = Math.floor(Math.random()*256);
							// rgb(255,0,0)
							document.body.style.backgroundColor =  "rgb("+r+","+g+","+b+")"
						},1000)
					}
					
					
				</script>
	</body>
</html>